﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Traceability.Domain.FarmingMsgs
{
    /// <summary>
    /// 企业
    /// </summary>
    public class Enterprise
    {
        [Key]
        public int EnterpriseId { get; set; }
        /// <summary>
        /// 商品编号
        /// </summary>
        public string ProductCode { get; set; }
        /// <summary>
        /// 养殖场
        /// </summary>
        public string EnterpriseFarm { get; set; }
        /// <summary>
        /// 负责人
        /// </summary>
        public string EnterpriseCust { get; set; }
        /// <summary>
        /// 存栏数量
        /// </summary>
        public int EnterpriseFeedNum { get; set; }
        /// <summary>
        /// 添加人
        /// </summary>
        public string CreatePerson { get; set; }
        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime CreateTime { get; set; } = DateTime.Now;
    }
}
